home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
sfromcrvs.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
991b
|
29 lines
.TH SFROMCRVS
6 "IRIT Version 6.0"
.SH NAME
SFROMCRVS
SurfaceType SFROMCRVS( ListType CrvList, NumericType OtherOrder )
Constructs a surface by substituting the curves in CrvList as rows
in a control mesh of a surface. Curves in CrvList are made compatible
by promoting Bezier curves to Bsplines if necessary, and raising degree
and refining as required before substituting the control polygons of the
curves as rows in the mesh. The other direction order is set by
OtherOrder, which cannot be larger than the number of curves.
The surface interpolates the first and last curves only.
Example:
Crv1 = cbspline( 3,
list( ctlpt( E3, 0.0, 0.0, 0.0 ),
ctlpt( E3, 1.0, 0.0, 0.0 ),
ctlpt( E3, 1.0, 1.0, 0.0 ) ),
list( KV_OPEN ) );
Crv2 = Crv1 * trans( vector( 0.0, 0.0, 1.0 ) );
Crv3 = Crv2 * trans( vector( 0.0, 1.0, 0.0 ) );
Srf = SFROMCRVS( list( Crv1, Crv2, Crv3 ), 3 );